<template>
	<view class="layout">
		<view class="row">
			<view class="left">
				<uni-icons :type="icontype" size="20" color="#28b389"></uni-icons>
				<view class="text">{{content}}</view>
			</view>
			<view class="right">	
				<view class="text">{{num}}</view>
				<uni-icons type="right" size="18" color="#aaa"></uni-icons>
			</view>
		</view>
	</view>
</template>

<script setup>
	defineProps(['icontype','content','num'])
</script>

<style lang="scss" scoped>
	.row{
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 30rpx;
		height: 100rpx;
		border-bottom: 1px solid #eee;
		background-color: #fff;
		.left{
			display: flex;
			align-items: center;
			.text{
				padding-left: 20rpx;
				color: #666;
			}
		}
		.right{
			display: flex;
			align-items: center;
			.text{
				font-size: 28rpx;
				color: #aaa;
			}
		}
	}
</style>